package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.bo.YunZhanTingEnterpriseHistoryRequest;
import com.aiti.lulian.dto.EnterpriseSelectDto;
import com.aiti.lulian.entity.LuLianEnterpriseHistory;
import com.aiti.lulian.entity.request.LuLianEnterpriseRenZhengRequest;
import com.aiti.lulian.vo.EnterpriseAuthVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

public interface ILulianEnterpriseHistoryService extends BaseService<LuLianEnterpriseHistory> {

    /**
     * 企业认证
     * @param request
     * @return
     */
    Message addEnterpriseHistory(LuLianEnterpriseRenZhengRequest request,String userId);


    /**
     * 更新企业认证
     * @param request
     * @param userId
     * @return
     */
    Message updateEnterpriseHistory(LuLianEnterpriseRenZhengRequest request, String userId);

    /**
     * 数据回显
     * @param userId
     * @return
     */
    Message enterpriseHistoryShow(String userId);

    Message enterpriseCheck(Map<String, String> params,String userId);


    List<EnterpriseAuthVo> queryEnterHistoryList(Page page, EnterpriseSelectDto enterpriseSelectDto);

    Map<String, String> queryEnterpriseIdAndName(String userId);

    /**
     * 云展厅企业认证
     * @param request
     */
    Message yunZhanTingEnterpriseHistory(YunZhanTingEnterpriseHistoryRequest request,String userId );

    /**
     * 回显
     * @param userId
     * @return
     */
    Message yunZhanTingEnterpriseHistoryShow(String userId);

    /**
     * 修改
     * @param userId
     * @return
     */
    Message yunZhanTingUpdateEnterpriseHistory(YunZhanTingEnterpriseHistoryRequest request, String userId);
}
